Create Channel
AutomatR.MicrosoftTeams.CreateChannel
The "Create Channel" activity in AutomatR for Microsoft Teams is designed to create a new channel within a specified Microsoft Teams account. This activity streamlines the process of channel creation, enhancing the efficiency of automation workflows focused on Microsoft Teams integration.
Properties
Name | Description |
---|---|
Input | |
Channel Name | Specifies the name of the channel to be created. String variables containing the desired channel name. |
Channel Description | Specifies the description of the channel to be created. String variables containing the channel description. |
Team ID | Specifies the Team ID where the channel will be created. String variables containing the Team ID. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Create Channel" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs the result of the "Create Channel" operation, indicating whether the channel creation was successful or encountered errors. Variables of relevant types (e.g., Boolean variables) to store the operation result. |
How to use:
- Drag and drop the "Create Channel" activity onto the workflow.
- Configure the properties by specifying the channel name, channel description, and Team ID for channel creation within Microsoft Teams.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to create a new channel within the specified Microsoft Teams account.
Example: Consider an example where the "Create Channel" activity is used to create a channel named "General" within a Microsoft Teams team:
Create Channel:
Display Name: "Create General Channel"
Channel Name: "General"
Channel Description: "General discussions and announcements"
Team ID: "teamIdVariable"
Result: isChannelCreated
In this example, the activity creates a new channel named "General" within the Microsoft Teams team specified by the Team ID. The result of the operation (success or failure) is stored in the Boolean variable "isChannelCreated" for further handling in the workflow.